package structure.facade;

/**
 * @author dali
 * @date 2021-07-19 19:54
 * @Description
 */

public class Facade {
    void open(){
        new BedRoom().open();
        new Kitchen().open();
        new LivingRoom().open();
    }

    void close(){
        new BedRoom().close();
        new Kitchen().close();
        new LivingRoom().close();
    }
}
